QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Instrument Information Record

The instrument information record provides identifiers for instruments and is part of the instrument information list. It is defined by the InstrumentInfoRecord data type.

struct InstrumentInfoRecord {
    long                        instrumentNumber;
    long                        flags;
    long                        toneNameIndex;
    long                        itxtNameAtomID;
};
typedef struct InstrumentInfoRecord InstrumentInfoRecord;
instrumentNumber
The instrument number. If the number is 0, the name is an instrument category. See Table 9 for the ranges of instrument numbers. If the value of the instrument number is greater than 65536, its value is transient, and the instrument should be identified by name rather than by number except when the value is immediately passed to the MusicSetPartInstrumentNumber function.
flags
Unused. Must be zero
toneNameIndex
The instrument's position in the toneNames index stored in the instrument information list this record is a part of. The index is a one-based index.
itxtNameAtomID
The instrument's position in the itxtNames index stored in the instrument information list this record is a part of.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next